using System;
using Catastrophe.Common.AttributeEx.Comm;

namespace Catastrophe.Common.AttributeEx
{
	public class CommDescribeAttribute : Attribute
	{
		public string Describe { get; set; }

		public CpuTypeEnum CpuType { get; set; } = CpuTypeEnum.Unknow;


		public PDCTEnum CommType { get; set; }

		public CommDescribeAttribute(string interfaceDescribe, PDCTEnum commType, CpuTypeEnum cpuType)
		{
			this.CommType = commType;
			this.CpuType = cpuType;
			this.Describe = interfaceDescribe;
		}
	}
}
